// 
// $Rev:: 22            $:  Revision of last commit
// $Author:: rvhaverm@g#$:  Author of last commit
// $Date:: 2010-07-25 1#$:  Date of last commit
// 
package agents.agents;

import com.ibm.aglet.AgletProxy;

import agents.core.Components;
import agents.interfaces.IMessage;

public abstract class ServiceAgent extends QueryAgent
{
    /** An AgletProxy representing the current Receptionist. */
    private AgletProxy _currentReceptionist = null;
    
    
    /**
     * An initialising method that is called when the agent is created.
     * 
     * @param init
     *            An initialising Object, that must contain a reference to the
     *            Receptionist.
     */
    public void onCreation(Object init)
    {
	super.onCreation(init);
    }

    
    public AgletProxy getReceptionist()
    {
	return Components.Instance().getAgentHost().getReceptionist();
    }

}
